Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 6 - Printing Resources / Printing Resources Reference
Resources Used Only in Printer Drivers


The Print-File Formats ('pfil') Resource

The print-file formats resource is used to specify driver-specific output file formats to display to the user for the print-to-file option. Each format name specified in this resource is displayed in the list of file formats shown in the standard file dialog box when the user confirms the Print dialog box after selecting the "Destination" option.

Figure 6-22 shows the structure of a print-file formats resource.

Figure 6-22 The print file formats resource

The print-file formats resource consists of a count and a number of file format names.

Listing 6-20 shows an example of a print-file formats resource that defines the file format name for the LaserWriter IIg printer driver.

Listing 6-20 An example of a print-file formats resource

resource 'pfil' ( gxDriverFileFormatID, sysHeap, purgeable) {

   {
      "PostScript(TM)"   };
};  

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help